lexer grammar InternalBrainfuckLanguage;
@header {
package net.maylander.bfcpublog.bfwb.ui.contentassist.antlr.internal;

// Hack: Use our own Lexer superclass by means of import. 
// Currently there is no other way to specify the superclass for the lexer.
import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer;
}

T11 : '+' ;
T12 : '-' ;
T13 : '<' ;
T14 : '>' ;
T15 : ',' ;
T16 : '.' ;
T17 : 'bfprogram' ;
T18 : '{' ;
T19 : '}' ;
T20 : 'symbols:' ;
T21 : 'macros:' ;
T22 : 'symbol' ;
T23 : '=' ;
T24 : '#region' ;
T25 : 'macro' ;
T26 : '(' ;
T27 : ')' ;
T28 : 'param' ;
T29 : '*' ;
T30 : '[' ;
T31 : ']' ;

// $ANTLR src "../net.maylander.bfcpublog.bfwb.ui/src-gen/net/maylander/bfcpublog/bfwb/ui/contentassist/antlr/internal/InternalBrainfuckLanguage.g" 2716
RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;

// $ANTLR src "../net.maylander.bfcpublog.bfwb.ui/src-gen/net/maylander/bfcpublog/bfwb/ui/contentassist/antlr/internal/InternalBrainfuckLanguage.g" 2718
RULE_INT : ('0'..'9')+;

// $ANTLR src "../net.maylander.bfcpublog.bfwb.ui/src-gen/net/maylander/bfcpublog/bfwb/ui/contentassist/antlr/internal/InternalBrainfuckLanguage.g" 2720
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');

// $ANTLR src "../net.maylander.bfcpublog.bfwb.ui/src-gen/net/maylander/bfcpublog/bfwb/ui/contentassist/antlr/internal/InternalBrainfuckLanguage.g" 2722
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';

// $ANTLR src "../net.maylander.bfcpublog.bfwb.ui/src-gen/net/maylander/bfcpublog/bfwb/ui/contentassist/antlr/internal/InternalBrainfuckLanguage.g" 2724
RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?;

// $ANTLR src "../net.maylander.bfcpublog.bfwb.ui/src-gen/net/maylander/bfcpublog/bfwb/ui/contentassist/antlr/internal/InternalBrainfuckLanguage.g" 2726
RULE_WS : (' '|'\t'|'\r'|'\n')+;

// $ANTLR src "../net.maylander.bfcpublog.bfwb.ui/src-gen/net/maylander/bfcpublog/bfwb/ui/contentassist/antlr/internal/InternalBrainfuckLanguage.g" 2728
RULE_ANY_OTHER : .;


